﻿<%@ Page Title="Cungmuanao.com - Cập nhật User" MasterPageFile="~/Admin/Admin.master" Language="C#" AutoEventWireup="true" CodeFile="EditUser.aspx.cs" Inherits="Admin_EditUser" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div class="title">Cập nhật người dùng</div>
<div class="body">
    <ul style="list-style-type:circle">
   <li>
        <asp:HyperLink ID="hplManageUser" runat="server" Text="quản lý người dùng" NavigateUrl="~/Admin/ManageUser.aspx"></asp:HyperLink>
    </li>
</ul>  
<p></p>
<hr /> 
<!-- Bat Dau -->
    
    <p></p>
    <table cellpadding="2">
      <tr>
         <td style="width: 110px;" class="fieldname">UserName:</td>
         <td style="width: 300px;"><asp:Literal runat="server" ID="lblUserName" /></td>
      </tr>
      <tr>
         <td class="fieldname">E-mail:</td>
         <td><asp:HyperLink runat="server" ID="lnkEmail" /></td>
      </tr>
      <tr>
         <td class="fieldname">Registered:</td>
         <td><asp:Literal runat="server" ID="lblRegistered" /></td>
      </tr>
      <tr>
         <td class="fieldname">Last Login:</td>
         <td><asp:Literal runat="server" ID="lblLastLogin" /></td>
      </tr>
      <tr>
         <td class="fieldname">Last Activity:</td>
         <td><asp:Literal runat="server" ID="lblLastActivity" /></td>
      </tr>
      <tr>
         <td class="fieldname"><asp:Label runat="server" ID="lblOnlineNow" AssociatedControlID="chkOnlineNow" Text="Online Now:" /></td>
         <td><asp:CheckBox runat="server" ID="chkOnlineNow" Enabled="false" /></td>
      </tr>
      <tr>
         <td class="fieldname"><asp:Label runat="server" ID="lblApproved" AssociatedControlID="chkApproved" Text="Approved:" /></td>
         <td><asp:CheckBox runat="server" ID="chkApproved" AutoPostBack="true" 
                 oncheckedchanged="chkApproved_CheckedChanged"  /></td>
      </tr>
      <tr>
         <td class="fieldname"><asp:Label runat="server" ID="lblLockedOut" AssociatedControlID="chkLockedOut" Text="Locked Out:" /></td>
         <td><asp:CheckBox runat="server" ID="chkLockedOut" AutoPostBack="true" 
                 oncheckedchanged="chkLockedOut_CheckedChanged"  /></td>
      </tr>
   </table>
   <p></p>
   <p></p>
   <div class="sectiontitle">Edit user's roles</div>
   <p></p>
   <asp:CheckBoxList runat="server" ID="chklRoles" RepeatColumns="5" CellSpacing="4" />
   <table cellpadding="2" style="width: 450px;">
      <tr><td style="text-align: right;">
         <asp:Label runat="server" ID="lblRolesFeedbackOK" SkinID="FeedbackOK" Text="Roles updated successfully" Visible="false" />
         <asp:Button runat="server" ID="btnUpdateRoles" Text="Update" 
              onclick="btnUpdateRoles_Click"/>
      </td></tr>
      
   </table>
    <!-- Ket Thuc -->
    </div>
    <div class="bottom"></div>
</asp:Content>